import * as Pinia from 'pinia';
import PiniaPersist from 'pinia-plugin-persistedstate';
import { createSSRApp } from 'vue';
import App from './App.vue';
export function createApp() {
	const app = createSSRApp(App);
	const pinia = Pinia.createPinia()
	pinia.use(PiniaPersist)
	app.use(pinia)

	return {
		app,
		Pinia
	};
}